package ywpt.service.system;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;


import ywpt.model.Form;


public interface FormService {
	public abstract Form getFormById(Long id);

	public abstract int getKnowLibCountByCriteria(DetachedCriteria query);

	public abstract List<Form> getForms(
			DetachedCriteria query, int pageSize, int startIndex);

	public abstract void saveForm(Form form);

	public abstract void updatForm(Form form);

	public abstract void removeForm(Long id);

	public abstract List<Form> getFormLibs(DetachedCriteria query);

	public abstract List<Form> getAllForms();

	public abstract int[] removeForms(Long[] ids);
	public abstract boolean checkformItem(String value,String name);
}